* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.8s ease forwards;
}

.slide-up {
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 1s ease forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.8s ease forwards;
}

.slide-up {
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 1s ease forwards;
}


@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


body {
  font-family: "Satoshi", sans-serif;
  background-color: #f4f4f4;
  background-image: url('images/Line.svg'), url('images/noise.png');
  background-repeat: repeat, repeat-y;
  background-position: top;
  background-size: auto, cover;
  color: black;
  margin: 0;
  padding: 0;
}



#follower {
      position: fixed;
      top: 0;
      left: 0;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(99, 85, 255, 0.486);
      border: 2px solid rgba(99, 85, 255, 0.703);
      pointer-events: none;
      transform: translate(-50%, -50%);
      transition: background 0.3s;
      z-index: 9999;
      
    }


my-header {
  display: block;
  width: 100%;
}



/* هدر */
header {
  padding: 16px 28px;
  background-color: #f5f5f5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 95%;
  max-width: 1220px;
  left: 50%;
  transform: translateX(-50%);
  top: 16px;
  z-index: 100;
  border-radius: 20px;
}

/* ناوبری */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.menu li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.menu .about {
  font-weight: 700;
  color: #3D79F0;
}

.menu li a:hover {
  color: #ff3838;
}

/* قسمت راست هدر */
.right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* سوشال مدیا */
.social-media {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-media img {
  width: 24px;
  height: 24px;
}

/* اکشن‌ها */
.actions {
  display: flex;
  gap: 8px;
}

button.Lang,
button.download-cv {
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.Lang {
  background: transparent;
  border: 1px solid #BCBCBC;
  color: black;
}

button.download-cv {
  background: transparent;
  border: 1px solid #ff3838;
  color: black;
  height: 100%;
}

button.Lang:hover {
  background-color: rgb(239, 239, 239);
}

button.download-cv:hover {
  background-color: rgb(255, 198, 198);
}

/* Social Media */
.social-media {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-media img {
  width: 24px;
  height: 24px;
}

/* Actions */
.actions {
  display: flex;
  gap: 8px;
}

button.Lang,
button.download-cv {
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #BCBCBC;
  color: black;
  transition: background-color 0.3s ease;
}

button.download-cv {
  border: 1px solid #ff3838;
}

button.Lang:hover {
  background-color: rgb(239, 239, 239);
}

button.download-cv:hover {
  background-color: rgb(255, 198, 198);
}


/* About ME */
.content {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1220px;
  padding: 80px 20px;
  margin-top: 70px;
  font-family: "Noto Serif", serif;
  font-weight: 400;
}

.title {
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  background: linear-gradient(#E42424, #3D79F0, #7F178F);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.line {
  width: auto;
  height: 1px;
  background-color: #D7D7D7;
  border-radius: 100%;
  margin-bottom: 50px;
}

.circle-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.circle {
  width: 10px;
  height: 10px;
  background-color: #1A1A1A;
  border-radius: 50%;
}

.Who-I-Am h3 {
  font-size: 24px;
  font-weight: 500;
}

.Who-I-Am p {
  font-family: "Satoshi", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.Education {
  width: auto;
  margin-top: 50px;
}

.title-line {
  display: flex;
  align-items: center;
}

.title-line h3 {
  font-family: "Noto Serif", serif;
  font-size: 24px;
  font-weight: 500;
}

.line-e {
  width: 100%;
  border: 1px solid #D7D7D7;
  margin-top: 4px;
}

.ed-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ED-1,
.ED-2 {
  width: 100%;
  margin-top: 50px;
  background-color: #F2F2F2;
  border: 1px solid #E3E3E3;
  padding: 20px;
  border-radius: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: "Satoshi", sans-serif;
}

.ED-1:hover{ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.11);}           .ED-2:hover{ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.11);}

.ed1-info,
.ed2-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ed-text,
.ed-text2 {
  width: fit-content;
  height: auto;
  margin-top: 20px;
  font-size: 20px;
}

.ed1-info p,
.ed2-info p {
  margin-top: 6px;
  color: #2F2F2F;
  font-size: 16px;
  max-width: 500px;
}

.timeline,
.timeline2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-radius: 10px;
}

.start-DT,
.end-DT,
.start-DT2,
.end-DT2 {
  font-size: 16px;
  color: #333;
}

.line-AR,
.line-AR2 {
  flex: 1;
  height: 1px;
  border-top: 2px dashed #aaa;
  position: relative;
  margin: 0 10px;
}

.arrow,
.arrow2 {
  position: absolute;
  top: -8px;
  right: -10px;
  font-size: 18px;
  color: #777;
  padding: 0 5px;
}

.EX-title {
  width: auto;
  margin-top: 50px;
}

.title-line-x {
  display: flex;
  align-items: center;
}

.title-line-x h3 {
  white-space: nowrap;
  font-family: "Noto Serif", serif;
  font-size: 24px;
  font-weight: 500;
}

.line-x {
  width: 100%;
  border: 1px solid #D7D7D7;
  margin-top: 4px;
}



/*---------Soudemy---------*/
.soudemy {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: 12px;
  width: 100%;
  margin-top: 50px;
  background-color: #F2F2F2;
  border: 1px solid #E3E3E3;
  padding: 20px 20px;
  border-radius: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: satoshi;
}

.S-info {
  width: 100%;
}

.S-info p {
  margin-top: 6px;
  color: #2F2F2F;
  font-size: 16px;
  max-width: 370px;
}

.S-icon {
  display: flex;
  align-items: center;
  gap: 28px;
}

.yotube-icon {
  display: flex;
  align-items: center;
  color: #E42424;
  gap: 8px;
  margin-top: 16px;
}

.instagram-icon {
  display: flex;
  align-items: center;
  color: #a81616;
  gap: 8px;
  margin-top: 16px;
}


.S-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.S-start-DT,
.S-end-DT {
  font-size: 16px;
  color: #333;
}

.S-line-AR {
  width: 100%;
  height: 1px;
  border-top: 2px dashed #aaa;
  position: relative;
  margin: 0 4px;
}

.S-img {
  display: flex;
  align-items: center;
  position: absolute;
  gap: 12px;
  transform: translateY(-50px);


}

.S-img img {
  width: 210px;
  height: 130px;
  border-radius: 16px;
}

.S-img img {
  transition: transform 0.3s ease; /* برای انیمیشن نرم */
}

.S-img img:hover {
  transform: translateY(-10px); /* حرکت به سمت بالا */
}



/*---------Menu App---------*/
.menu-app {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: 12px;
  width: 100%;
  margin-top: 70px;
  background-color: #F2F2F2;
  border: 1px solid #E3E3E3;
  padding: 20px 20px;
  border-radius: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: satoshi;
}

.m-info {
  width: 100%;
}

.m-info p {
  margin-top: 6px;
  color: #2F2F2F;
  font-size: 16px;
  max-width: 370px;
}

.m-icon {
  display: flex;
  align-items: center;
  gap: 28px;
}



.m-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
}

.m-start-DT,
.m-end-DT {
  font-size: 16px;
  color: #333;
}

.m-line-AR {
  width: 100%;
  height: 1px;
  border-top: 2px dashed #aaa;
  position: relative;
  margin: 0 4px;
}

.m-img {
  display: flex;
  align-items: center;
  position: absolute;
  gap: 4px;
  transform: translateY(-60px);


}

.m-img img {
  width: 120px;
  height: 171px;
  border-radius: 16px;
}


.m-img img {
  transition: transform 0.3s ease; /* برای انیمیشن نرم */
}

.m-img img:hover {
  transform: translateY(-10px); /* حرکت به سمت بالا */
}



/*---------Dmarket Place---------*/
.dmarketplace {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: 12px;
  width: 100%;
  margin-top: 50px;
  background-color: #F2F2F2;
  border: 1px solid #E3E3E3;
  padding: 20px 20px;
  border-radius: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: satoshi;
}

.d-info {
  width: 100%;
}

.d-info p {
  margin-top: 6px;
  color: #2F2F2F;
  font-size: 16px;
  max-width: 370px;
}

.d-icon {
  display: flex;
  align-items: center;
  gap: 28px;
}


.instagram-icon {
  display: flex;
  align-items: center;
  color: #a81616;
  gap: 8px;
  margin-top: 16px;
}


.d-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.d-start-DT,
.d-end-DT {
  font-size: 16px;
  color: #333;
}

.d-line-AR {
  width: 100%;
  height: 1px;
  border-top: 2px dashed #aaa;
  position: relative;
  margin: 0 4px;
}

.d-img {
  display: flex;
  align-items: center;
  position: absolute;
  gap: 12px;
  transform: translateY(-50px);


}

.d-img img {
  width: 210px;
  height: 130px;
  border-radius: 16px;
}


.d-img img {
  transition: transform 0.3s ease; /* برای انیمیشن نرم */
}

.d-img img:hover {
  transform: translateY(-10px); /* حرکت به سمت بالا */
}




/*---------Ezy Company---------*/
.ezycompany {
  display: flex;
  align-items: flex-start;
  justify-content: end;
  gap: 12px;
  width: 100%;
  margin-top: 50px;
  background-color: #F2F2F2;
  border: 1px solid #E3E3E3;
  padding: 20px 20px;
  border-radius: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-family: satoshi;
}

.e-info {
  width: 100%;
}

.e-info p {
  margin-top: 6px;
  color: #2F2F2F;
  font-size: 16px;
  max-width: 245px;
}

.e-icon {
  display: flex;
  align-items: center;
  gap: 28px;
}


.instagram-icon {
  display: flex;
  align-items: center;
  color: #a81616;
  gap: 8px;
  margin-top: 16px;
}


.e-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.e-start-DT,
.e-end-DT {
  font-size: 16px;
  color: #333;
}

.e-line-AR {
  width: 100%;
  height: 1px;
  border-top: 2px dashed #aaa;
  position: relative;
  margin: 0 4px;
}

.e-img {
  display: flex;
  align-items: center;
  position: absolute;
  gap: 8px;
  transform: translateY(-50px);


}

.e-img img desktop {
  width: 210px;
  height: 130px;
  border-radius: 16px;
}

.e-img img mobile {
  width: 210px;
  height: 130px;
  border-radius: 16px;
}


.e-img img {
  transition: transform 0.3s ease; /* برای انیمیشن نرم */
}

.e-img img:hover {
  transform: translateY(-10px); /* حرکت به سمت بالا */
}








.btn-n-p{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.previous-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 45px;
  bottom: 110px; 
  font-family: satoshi;
  font-size: 12px;
  background-color: transparent;
  border: 1px solid #8b8b8b;
  color: #121212;
  border-radius: 12px;
  width: 50px;
  height: auto; 
  padding: 10px 12px;
  text-align: center;
  cursor: pointer;
  z-index: 999;
} 


.previous-page:hover {
  background-color: #e7e7e7;
}

.next-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 45px;
  bottom: 20px; 
  font-family: satoshi;
  background-color: #3D79F0;
  color: #f4f4f4;
  border-radius: 12px;
  width: 50px;
  height: auto; 
  padding: 8px;
  text-align: center;
  cursor: pointer;
  animation: movedown 2s ease-in-out infinite;
  z-index: 999;
  border: 0;
} 

.next-page:hover {
  background-color: #185eea;
  box-shadow: 0 4px 10px rgba(101, 63, 225, 0.05);
}

@keyframes movedown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); 
  }
}



/*------------responsiv---------------*/
@media (max-width: 768px) {

  header {
    justify-content: space-between;
    align-items: center;
    top: 8px;
    padding: 16px 16px;
    flex-wrap: wrap;
  }

  .nav {
    display: flex;
    align-items: center;
  }

  .social-media {
    display: none;
  }

  .menu {
    list-style: none;
    gap: 0;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
  }

  .menu a {
    display: none;
  }

  .menu a.about {
    display: inline-block;
    margin-right: auto;
  }

  .right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  button.Lang,
  button.download-cv {
    padding: 6px 10px;
    font-size: 13px;
  }

  .actions {
    gap: 6px;
  }

  .social-media {
    display: none;
  }


  .ed-info,
  .ed1-info,
  .ed2-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .ed-text,
  .ed-text2 {
    margin-top: 10px;
    font-size: 18px;
  }

  .ed1-info p,
  .ed2-info p {
    max-width: 100%;
  }

  /*سکشن تجربه کاری سئودمی*/
  .soudemy {
    flex-direction: column;
    align-items: start;
    padding: 16px;
  }

  .S-img {
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .S-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .S-info p {
    max-width: 100%;
    font-size: 14px;
  }


  /*سکشن تجربه کاری Menu App*/
  .menu-app {
    flex-direction: column;
    align-items: start;
    padding: 16px;
  }

  .m-img {
    display: flex;
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .m-img img {
    width: 100%;
    max-width: 150px;
    height: auto;
  }

  .m-info p {
    max-width: 100%;
    font-size: 14px;
  }

  /*سکشن تجربه کاری dmarketplace*/
  .dmarketplace {
    flex-direction: column;
    align-items: start;
    padding: 16px;
  }

  .d-img {
    display: flex;
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .d-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .d-info p {
    max-width: 100%;
    font-size: 14px;
  }

  /*سکشن تجربه کاری Ezy Company*/
  .ezycompany {
    flex-direction: column;
    align-items: start;
    padding: 16px;
  }

  .e-img {
    display: flex;
    position: static;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .e-img img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .e-img .mobile{
    width: 100%;
    max-width: 120px;
    height: auto;
  }

  .e-info p {
    max-width: 100%;
    font-size: 14px;
  }

}


@media (max-width: 480px) {

  .title {
    font-size: 26px;
  }

  .Who-I-Am h3,
  .title-line h3,
  .title-line-x h3 {
    font-size: 20px;
  }

  .ed-text,
  .ed-text2 {
    font-size: 16px;
  }

  .start-DT,
  .end-DT,
  .start-DT2,
  .end-DT2 {
    font-size: 14px;
  }

  .timeline,
  .timeline2 {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .arrow,
  .arrow2 {
    display: none;
  }


  #follower {
        display: none !important;
    }
}

